package win.acfelis.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import win.acfelis.domain.DetailModel;

import java.util.List;
import java.util.Map;

/**
 * @Auther: acfelis
 * @Date: 17-11-18
 */
@Repository
public interface AdverMapper {
    List<Map<String, Object>> getInfo(@Param("istop") String istop);

    List<Map<String, Object>> list(@Param("keyword") String keyword);

    Map<String, Object> detail(@Param("guid") String guid);

    int addAdverInfo(DetailModel info);

    int updateAdverInfo(DetailModel info);
}
